// 诉状
Vue.component('ht-archives-detail', {
    name:'ht-archives-detail',
    template: `
        <el-dialog title="" :visible.sync="show" v-cloak
            :destroy-on-close="true" width="70%" top="20px" @close="close"
            :append-to-body="true" z-index="9999999">
            <el-card class="box-card">
                  <div slot="header" class="clearfix" style="text-align: center;font-weight: bold">
                    <span >{{itemData.title}}</span>
                  </div>
                  <div class="text item" v-html="itemData.content"></div>
            </el-card>
        </el-dialog>
    `,
    props: {
        itemData:{
            type:Object,
            default:()=>{
                return {}
            }
        },
        show:{
            type:Boolean,
            default:false
        },
    },
    data() {
        return {
            device_list:[],
            info:{}
        }
    },
    created() {
        console.log("this.itemData",this.itemData)
    },
    methods: {
        close() {
            this.$emit("update:show",false)
        }
    },
    watch: {

    }
})